package com.gxa.entity.commlife;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author yjl
 * @since 2022-10-12 11:18:00
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@TableName("t_business_management")
@ApiModel(value = "BusinessManagement对象", description = "")
public class BusinessManagement implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键 ")
    @TableId(value = "bm_id", type = IdType.AUTO)
    private Integer bmId;

    @ApiModelProperty(value = "商家名称 ")
    @TableField("business_name")
    private String businessName;

    @ApiModelProperty(value = "商家类型外键 ")
    @TableField("merchant_id")
    private MerchantType merchantType;

    @ApiModelProperty(value = "地址 ")
    @TableField("address")
    private String address;

    @ApiModelProperty(value = "经纬度 ")
    @TableField("latitude_and_longitude")
    private String latitudeAndLongitude;

    @ApiModelProperty(value = "营业时间 ")
    @TableField("business_hours")
    private String businessHours;

    @ApiModelProperty(value = "营业内容 ")
    @TableField("business_content")
    private String businessContent;

    @ApiModelProperty(value = "状态(0:营业中,1:装修中,2:停业中) ")
    @TableField("state")
    private Integer state;

    @ApiModelProperty(value = "假删除")
    @TableField("is_delete")
    @TableLogic
    private Integer isDelete;
}
